package com.clickpaas.workinghours;

import com.clickpaas.workinghours.common.Interceptor.UniqueNameGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableEurekaClient
@ComponentScan(nameGenerator = UniqueNameGenerator.class)
public class WorkingHoursApplication {
    public static void main(String[] args) {
        SpringApplication.run(WorkingHoursApplication.class, args);
    }
}
